


var asm_siteid = 669028;

function asm_windowWidth() {
   if(navigator) {
      if (parseInt(navigator.appVersion,10)>3) {
         if (navigator.appName=="Netscape") { return window.innerWidth; }
         if (navigator.appName.indexOf("Microsoft")!=-1) { return document.body.offsetWidth; }
      }
   }
   return 0;
}
function asm_windowHeight() {
   if(navigator) {
      if (parseInt(navigator.appVersion,10)>3) {
         if (navigator.appName=="Netscape") { return window.innerHeight; }
         if (navigator.appName.indexOf("Microsoft")!=-1) { return document.body.offsetHeight; }
      }
   }
   return 0;
}
function asm_screenWidth() {
   return screen.width;
}
function asm_screenHeight() {
   return screen.height;
}

function asm_addEvent(obj, evType, fn){ 
 if (obj.addEventListener){ 
   obj.addEventListener(evType, fn, false); 
   return true; 
 } else if (obj.attachEvent){ 
   var r = obj.attachEvent("on"+evType, fn); 
   return r; 
 } else { 
   return false; 
 } 
}



